Pod::Spec.new do |spec|

  spec.name         = "PodsLibDemo" # 私有库名称
  spec.version      = "1.1.4" # 私有库版本号
  spec.summary      = "demo pod" # 项目简介
  spec.description  = "这是一个pods私有库的Demo" # 项目简介

  spec.homepage     = "https://gitee.com/snilwx/cocoapods_private_library" # 仓库的主页
  spec.license      = "MIT" # 开源许可证
  spec.author             = { "wangxiang" => "934416194@qq.com" } # 作者信息
  spec.platform     = :ios, "10.0" # 平台及支持的最低版本

  spec.source       = { :git => "https://gitee.com/snilwx/cocoapods_private_library.git", :tag => "#{spec.version}" } #仓库地址

  spec.source_files  = "PodsLibDemo/PodsLibDemo/Classes/**/*" # 代码位置,路径一定要弄对
  
  #不会自动创建PodsLibDemo.bundle存放打包资源
  spec.resources = 'PodsLibDemo/PodsLibDemo/Assets/*' # 导入资源文件
  
  #会自动创建PodsLibDemo.bundle存放打包资源
  #spec.resource_bundles = {
  #  'PodsLibDemo' => ['PodsLibDemo/PodsLibDemo/Assets/*'] # 导入资源文件
  #}
  
  spec.exclude_files = "PodsLibDemo/PodsLibDemo/AppDelegate.{h,m}", "PodsLibDemo/PodsLibDemo/main.m" #过滤文件,这些文件将不会上传
  
  spec.requires_arc = true #是否支持arc

end
